package com.xinongbest.oa.dao;

import com.xinongbest.oa.entity.Notice;

import java.util.List;

/**
 * @author lemonwan
 */
public interface NoticeDao {
    void insert(Notice notice);

    /**
     * <h2>通过接受者ID获取通知信息</h2>
     *
     * @param receiverId {@link Long}
     * @return {@link Notice}
     */
    List<Notice> selectByReceiverId(Long receiverId);
}
